package com.nengjiang.wsplayer.bean;

import com.google.gson.Gson;

import java.io.Serializable;

public class BaseBean implements Serializable {
    public int msgType;

    public BaseBean(int msgType) {
        this.msgType = msgType;
    }

    public String toJson() {
        return new Gson().toJson(this);
    }
}
